Optimal. Leaf size=66 \[ -\frac{(2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}-\frac{A \sqrt{b x+c x^2}}{b x^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0511594, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {792, 660, 207} \[ -\frac{(2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}-\frac{A \sqrt{b x+c x^2}}{b x^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 660
Rule 207
Rubi steps
\begin{align*} \int \frac{A+B x}{x^{3/2} \sqrt{b x+c x^2}} \, dx &=-\frac{A \sqrt{b x+c x^2}}{b x^{3/2}}+\frac{\left (-\frac{3}{2} (-b B+A c)+\frac{1}{2} (-b B+2 A c)\right ) \int \frac{1}{\sqrt{x} \sqrt{b x+c x^2}} \, dx}{b}\\ &=-\frac{A \sqrt{b x+c x^2}}{b x^{3/2}}+\frac{\left (2 \left (-\frac{3}{2} (-b B+A c)+\frac{1}{2} (-b B+2 A c)\right )\right ) \operatorname{Subst}\left (\int \frac{1}{-b+x^2} \, dx,x,\frac{\sqrt{b x+c x^2}}{\sqrt{x}}\right )}{b}\\ &=-\frac{A \sqrt{b x+c x^2}}{b x^{3/2}}-\frac{(2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{b^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0368084, size = 73, normalized size = 1.11 \[ \frac{-x \sqrt{b+c x} (2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b+c x}}{\sqrt{b}}\right )-A \sqrt{b} (b+c x)}{b^{3/2} \sqrt{x} \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.015, size = 71, normalized size = 1.1 \begin{align*}{\sqrt{x \left ( cx+b \right ) } \left ( A{\it Artanh} \left ({\sqrt{cx+b}{\frac{1}{\sqrt{b}}}} \right ) xc-2\,B{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) xb-A\sqrt{cx+b}\sqrt{b} \right ){b}^{-{\frac{3}{2}}}{x}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{cx+b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x + A}{\sqrt{c x^{2} + b x} x^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.89751, size = 352, normalized size = 5.33 \begin{align*} \left [-\frac{{\left (2 \, B b - A c\right )} \sqrt{b} x^{2} \log \left (-\frac{c x^{2} + 2 \, b x + 2 \, \sqrt{c x^{2} + b x} \sqrt{b} \sqrt{x}}{x^{2}}\right ) + 2 \, \sqrt{c x^{2} + b x} A b \sqrt{x}}{2 \, b^{2} x^{2}}, \frac{{\left (2 \, B b - A c\right )} \sqrt{-b} x^{2} \arctan \left (\frac{\sqrt{-b} \sqrt{x}}{\sqrt{c x^{2} + b x}}\right ) - \sqrt{c x^{2} + b x} A b \sqrt{x}}{b^{2} x^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{x^{\frac{3}{2}} \sqrt{x \left (b + c x\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20931, size = 78, normalized size = 1.18 \begin{align*} -\frac{\frac{\sqrt{c x + b} A c}{b x} - \frac{{\left (2 \, B b c - A c^{2}\right )} \arctan \left (\frac{\sqrt{c x + b}}{\sqrt{-b}}\right )}{\sqrt{-b} b}}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]